home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94b.txt / 000102_icon-group-sender _Thu Nov 10 18:48:11 1994.msg < prev    next >
Internet Message Format  |  1995-02-09  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Thu, 10 Nov 1994 18:01:14 MST
  2. To: icon-group-l@cs.arizona.edu
  3. Date: Thu, 10 Nov 1994 18:48:11 GMT
  4. From: gmurphy@june.cs.washington.edu (Gail Murphy)
  5. Message-Id: <Cz2Ewr.Kr@beaver.cs.washington.edu>
  6. Organization: University of Washington, Department of Computer Science and Engineering
  7. Sender: icon-group-request@cs.arizona.edu
  8. Reply-To: gmurphy@cs.washington.edu
  9. Subject: Three Questions: Allocated, Memory, and C Functions/Porting to PC
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11.  
  12. Some questions from a novice Icon user....
  13.  
  14. 1. Does anyone have any example programs using the &allocated keyword?
  15.    From the documentation, I thought it would return 4 values, but
  16.    I am only getting one on the DECstation and the Alpha using
  17.    Icon 9.
  18.  
  19. 2. I have an Icon program that must process input character by character for
  20.    tokenizing. This creates a lot of garbage, slowing things down considerably.
  21.    Is there any way to manage some memory directly in conjunction with
  22.    the garbage collector? Or are there any hints for efficent use of Icon
  23.    on a character by character basis?
  24.  
  25. 3. One way around #2 above may be to use a C function. Can C functions be
  26.    linked in with the PC version? Does anyone have any experience doing
  27.    this and supporting the feature under both Unix and DOS?
  28.  
  29. Thanks, Gail.
  30.  
  31.  
  32.  ------------------------------------------------------------
  33.  Gail Murphy                                                
  34.                                                            
  35.  Graduate Student                                         
  36.  Department of Computer Science and Engineering, FR-35   
  37.  University of Washington, Seattle WA 98195                
  38.                                                          
  39.  (206) 616-1847
  40.  gmurphy@cs.washington.edu                              
  41.  ------------------------------------------------------------
  42.  
  43.  
  44.  
  45.   
  46.  
  47.